<ul class="breadcrumb">
    <li><a href="/<~$resourceName~>"><~$resourceName~> list</a> <span class="divider">/</span></li>
    <li class="active">{$<~$resourceName~>.title}</li>
    <li><a href="/<~$resourceName~>/create">create</a></li>
</ul>

<dl class="dl-horizontal">
    <~foreach from="$showFields" item="col" ~>
        <dt><~$col~></dt>
        <dd>&nbsp;{$<~$resourceName~>.<~$col~>}</dd>
 
    <~/foreach~>
 
</dl>
<ul class="nav nav-pills">

    <li><a href="/<~$resourceName~>/edit/{$<~$resourceName~>.<~$pk~>}">edit</a></li>
    <li><a href="/<~$resourceName~>/delete/{$<~$resourceName~>.<~$pk~>}" onclick="return confirm('sure to delete?')">delete</a></li>
    <li><a href="/<~$resourceName~>">return</a></li>

</ul>